package com.software_product_construction.backend_software_product_construction.dao;


import com.software_product_construction.backend_software_product_construction.dao.example.UserExample;
import com.software_product_construction.backend_software_product_construction.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * UserDAO继承基类
 */
@Repository
@Mapper
public interface UserMapper extends MyBatisBaseDao<User, String, UserExample> {

    User selectNewestUser(String account);

    List<User> getHistory(String user_id,int from, int to);
}
